package com.ruoyi.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 对象 adv_platinfos
 * 平台资讯
 * @author ruoyi
 * @date 2024-05-13
 */
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Data
public class AdvPlatinfos extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    @Excel(name = "板块" )
    private Long advPlatinfosId;


    @Excel(name = "板块" )
    private String infoSection;


    @Excel(name = "标题" )
    private String title;


    @Excel(name = "图片地址")
    private String photoimage;


    @Excel(name = "视频地址")
    private String videourl;


    @Excel(name = "图文内容")
    private String infocontent;

    @Excel(name = "音频正文地址")
    private String lrcurl;

    @Excel(name = "是否为默认音频")
    private String defaultAudio;

    @Excel(name = "排序值")
    private String orderValue;


    @Excel(name = "发布时间")
    private String pubDatetime;

    @Excel(name = "是否置顶")
    private Long topFlag; //
    @Excel(name = "点赞数")
    private Long plikes; // 点赞数

    @Excel(name = "是否同步")
    private Long syncFlag; // 是否同步
    @Excel(name = "是否是默认音频")
    private Long isChooseaudio;
    @Excel(name = "是否单曲循环")
    private Long isCycle;

    private String mediaSize; //音频大小

    private String mediafileSize;//歌词大小


    public AdvPlatinfos(Long advPlatinfosId, String infoSection, String title, String photoimage, String videourl, String infocontent, String lrcurl, String defaultAudio, String pubDatetime, Long topFlag, Long plikes,String mediaSize,String mediafileSize) {
        this.advPlatinfosId = advPlatinfosId;
        this.infoSection = infoSection;
        this.title = title;
        this.photoimage = photoimage;
        this.videourl = videourl;
        this.infocontent = infocontent;
        this.lrcurl = lrcurl;
        this.defaultAudio = defaultAudio;
        this.pubDatetime = pubDatetime;
        this.topFlag = topFlag;
        this.plikes = plikes;
        this.mediafileSize = mediafileSize;
        this.mediaSize = mediaSize;
    }
}
